package switchviz.recording;

import java.io.File;
import java.util.List;

public class RecordDataModel 
{
	private long _recstart = 0;
	private long _recend = 0;
	private int _timeintervall = 0;
	private File _folder = null;
	private String _datestr = "";
	private String _switchname = "";
	private String _switchaddress = "";
	private List<String> _switchportcount = null;
	
	public long getRecStart() 
	{
		return _recstart;
	}
	public void setRecStart(long recstart) 
	{
		this._recstart = recstart;
	}
	public long getRecEnd() 
	{
		return _recend;
	}
	public void setRecEnd(long recend) 
	{
		this._recend = recend;
	}
	public int getTimeintervall() 
	{
		return _timeintervall;
	}
	public void setTimeintervall(int timeintervall) 
	{
		this._timeintervall = timeintervall;
	}
	public void setFolder(File folder)
	{
		_folder = folder; 
	}
	public File getFolder()
	{
		return _folder;
	}
	public void setDate(String datestr)
	{
		_datestr = datestr;
	}
	public String getDate()
	{
		return _datestr;
	}
	public String getSwitchName() 
	{
		return _switchname;
	}
	public void setSwitchName(String switchname) 
	{
		this._switchname = switchname;
	}
	public String getSwitchAddress() 
	{
		return _switchaddress;
	}
	public void setSwitchAddress(String switchaddress) 
	{
		this._switchaddress = switchaddress;
	}
	public String toString()
	{
		return getFolder().getName();
	}
	public void setSwitchPortCount(List<String> switchportcount)
	{
		_switchportcount = switchportcount;
	}
	public List<String> getSwitchPortCount()
	{
		return _switchportcount;
	}
}
